package cn.cjp.day04;

public class UseConnector {

    public static void main(String[] args) {
        Connectorlmpl one = new Connectorlmpl();
        one.method1();
        one.method2();
        one.method3();
        System.out.println("=================");

        //调用默认方法        实现类若没有默认方法的覆盖重写，就往上一级
        one.method4();
        System.out.println("=================");

        //调用静态方法
        Connector.method5();
        System.out.println("=================");

        //常量
        System.out.println(Connector.NUM_1);
    }
}
